# For web radio streams we use the schema ontology

PREFIX :       <undefined:>
PREFIX dokk:   <https://vocabulary.dokk.org/>
PREFIX graph:  <graphdata:name:>
PREFIX rdfs:   <http://www.w3.org/2000/01/rdf-schema#>
PREFIX schema: <http://schema.org/>

WITH graph:dokk
INSERT
{
    ?s a schema:RadioChannel ;
       schema:name ?name ;
       schema:image ?favicon ;
       schema:url ?url ;
       rdfs:seeAlso ?homepage .
}
WHERE
{
    GRAPH graph:radio-browser
    {
        ?s :name ?name ;
           :favicon ?favicon ;
           :url ?url ;
           :homepage ?homepage .
    }
}
